<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="format-detection" content="telephone=no" />
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><meta name="HandheldFriendly" content="true" />
	<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
	<meta name="keywords" content="<?php echo $SEO['keyword'];?>">
	<meta name="description" content="<?php echo $SEO['description'];?>">

	<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>in.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>css.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>owl.carousel.css"/>
	<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>animate.css">

	<script type="text/javascript" src="<?php echo JS_PATH;?>jquery-1.11.0.js"></script>
	<script type="text/javascript" src="<?php echo JS_PATH;?>owl.carousel.js" charset="utf-8"></script>
	<script type="text/javascript" src="<?php echo JS_PATH;?>js.js"></script>
	<script src="<?php echo JS_PATH;?>countUp.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo JS_PATH;?>hcmui.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo JS_PATH;?>layer/layer.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>

</head>
<body>
<div class="top-box">
	<div class="common-width">
		<div class="top">
			<div class="top-logo">
				<a href="<?php echo siteurl($siteid);?>" title=""><img src="<?php echo IMG_PATH;?>logo.png"></a>
			</div>
			<div class="top-r">

				<div class="top-tel">
					<ul>
						<li><img src="<?php echo IMG_PATH;?>add.jpg" alt="" />185-3202-7228</li>
					</ul>
				</div>
				<div class="top-nav">
					<ul id="nav">
						<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=f1096699cd8296ad477846bb203fa4ff&action=category&siteid=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('siteid'=>'1','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
						<?php unset($data[21])?>
						<?php if($catid==null) { ?>
						<li class="navitem"><a class="nav-a active " href="<?php echo siteurl($siteid);?>"><span data-title="首页">首页</span></a></li>
						<?php } else { ?>
						<li class="navitem"><a class="nav-a" href="<?php echo siteurl($siteid);?>"><span data-title="首页">首页</span></a></li>
						<?php } ?>
						<?php $n=1;if(is_array($data)) foreach($data AS $nav) { ?>
						<?php if($catid == $nav['catid']) { ?>
						<li class="navitem"><a class="nav-a active " href="<?php echo $nav['url'];?>"><span data-title="关于我们"><?php echo $nav['catname'];?></span></a>
							<ul class="subnav">
								<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=54e5f2fb097b21b34ada9da7a9e3cda6&sql=select+%2A+from+category+where+parentid%3D%24nav%5Bcatid%5D\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from category where parentid=$nav[catid] LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
								<?php $n=1;if(is_array($data)) foreach($data AS $rr) { ?>
								<li><a href="<?php echo $rr['url'];?>"><span data-title="公司简介"><?php echo $rr['catname'];?></span></a></li>
								<?php $n++;}unset($n); ?>
							</ul>
						</li>
						<?php } else { ?>
						<li class="navitem"><a class="nav-a" href="<?php echo $nav['url'];?>"><span data-title="关于我们"><?php echo $nav['catname'];?></span></a>
							<ul class="subnav">
								<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=54e5f2fb097b21b34ada9da7a9e3cda6&sql=select+%2A+from+category+where+parentid%3D%24nav%5Bcatid%5D\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from category where parentid=$nav[catid] LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
								<?php $n=1;if(is_array($data)) foreach($data AS $rr) { ?>
								<li><a href="<?php echo $rr['url'];?>"><span data-title="公司简介"><?php echo $rr['catname'];?></span></a></li>
								<?php $n++;}unset($n); ?>
							</ul>
						</li>
						<?php } ?>
						<?php $n++;}unset($n); ?>
					</ul>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>

<div class="HUI_top">
    <div class="HUI_top-l"><a href="<?php echo siteurl($siteid);?>" title=""><img src="<?php echo IMG_PATH;?>logo.png" alt=""></a>
    </div>
  <div style="float:left;font-size: 14px;margin-left: 6px;">电话：<a href="tel:18532027228">185-3202-7228</a></div>
    <div class="HUI_top-r">
        <div class="HUI_Menu" id="menu"></div>
    </div>
</div>

<style>

.HUI_top{width:100%; height:50px; line-height:50px; background:#fff; position:fixed; z-index:9999; border-bottom:1px solid #ccc; margin-top:-1px;}
.HUI_top-l{ float:left; height:50px;}
.HUI_top-l img{ height:34px; width:auto; padding:8px;}
.HUI_top-r{ float:right; width:70px; height:50px;}
.HUI_Menu{width:50px; height:50px; float:right; background:url(<?php echo IMG_PATH;?>icon_menu.png) no-repeat center center; cursor:pointer;}
.HUI_MenuItems{width:32%; padding:0px 15px; position:fixed; z-index:999; top:50px; right:0px; margin:0px; display:none;}
.HUI_MenuItems *{color:#FFFFFF; text-align:center;}
.HUI_MenuItemsFun{width:100%;}
.HUI_MenuItemsFun li{width:100%; height:40px; padding:5px 0px;}
.HUI_MenuItemsFun li a{display:block; width:100%; height:40px; line-height:40px; overflow:hidden;}

</style>
<div class="HUI_MenuItems" id="sonMenu">
	<div class="HUI_MenuItemsFun">
        <ul style="padding-bottom:8px;">
        <li><a href="<?php echo siteurl($siteid);?>">首页</a></li>
          <li><a href="?m=content&c=index&a=lists&catid=9">关于我们</a></li>
          <li><a href="?m=content&c=index&a=lists&catid=13">扶持政策</a></li>
          <li><a href="?m=content&c=index&a=lists&catid=14">产品中心</a></li>
          <li><a href="?m=content&c=index&a=lists&catid=15">门店展示</a></li>
          <li><a href="?m=content&c=index&a=lists&catid=16">新闻动态</a></li>
          <li><a href="?m=content&c=index&a=lists&catid=20">联系我们</a></li>
          <li class="HUI_ClearBorder"><a href="javascript:HCMUI_MenuClose('#sonMenu');">关闭菜单</a></li>
        </ul>
    </div>
</div>
<script type="text/javascript">
var menu = new HCMUI_Menu('#menu', '#sonMenu');
menu.height       = 'auto';
menu.width        = '25%';
menu.background   = '#FFFFFF';
menu.opacity      = 0.88;
menu.boxShadow    = 'none';
menu.borderLeft   = '1px solid #000';
menu.borderBottom = '1px solid #000';
menu.liBorderBottom = '1px solid #000';
menu.start();
</script>
